package com.seari.bean.ats;

import java.io.Serializable;
import java.util.Arrays;

/**
 * @author TOUC
 * 车站火灾信息及位置
 *
 */
public class CiosAtsFasInfo implements Serializable {
	

	private static final long serialVersionUID = 1L;
	
	// 车站节点ID
	private byte fasId;
	// 车站状态 0表示未知，1表示检测到火警，2表示未检测到火警。
	private byte status;
	
	
	
	public byte getFasId() {
		return fasId;
	}
	public void setFasId(byte fasId) {
		this.fasId = fasId;
	}
	public byte getStatus() {
		return status;
	}
	public void setStatus(byte status) {
		this.status = status;
	}
	public CiosAtsFasInfo() {
		super();
		// TODO Auto-generated constructor stub
	}
	public CiosAtsFasInfo(byte fasId, byte status) {
		super();
		this.fasId = fasId;
		this.status = status;
	}
	@Override
	public String toString() {
		return "CiosAtsFasInfo [fasId=" + fasId + ", status=" + status + "]";
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + fasId;
		result = prime * result + status;
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		CiosAtsFasInfo other = (CiosAtsFasInfo) obj;
		if (fasId != other.fasId)
			return false;
		if (status != other.status)
			return false;
		return true;
	}
	
	
	
	
	
	
	
	
	
	
	
	
	
	


	
	
	

}
